package com.kingyun.gpsinspection.purificationservice.facade.model.iam.adm;


import com.kingyun.gpsinspection.purificationservice.facade.model.BootstrapSearchBean;

import java.io.Serializable;
import java.util.Date;

/**
 * 知识库
 * created by lutianbo on 2017/2/16
 */
public class Knowledge extends BootstrapSearchBean implements Serializable {
    // id
    private String knowledgeId;
    // 文本内容
    private String knowledgeContent;
    // 标题
    private String knowledgeTitle;
    // 标签
    private String knowledgeTag;
    // 创建者id
    private String creatUserId;
    // 创建者
    private String createName;
    // 创建时间
    private Date creatTime;
    // 修改人id
    private String alterUserId;
    // 修改时间
    private Date alterTime;
    // 是否删除
    private Short isDelete;
    // 开始时间（用于查询）
    private Date startTime;
    // 结束时间 （用于查询）
    private Date endTime;
    // 点赞人数
    private Integer praiseNum;
    // 评论数
    private Integer commentNum;
    // 适用组织id
    private String orgId;
    private String orgName;
    public String getKnowledgeId() {
        return knowledgeId;
    }

    public void setKnowledgeId(String knowledgeId) {
        this.knowledgeId = knowledgeId == null ? null : knowledgeId.trim();
    }

    public String getKnowledgeContent() {
        return knowledgeContent;
    }

    public void setKnowledgeContent(String knowledgeContent) {
        this.knowledgeContent = knowledgeContent == null ? null : knowledgeContent.trim();
    }

    public String getKnowledgeTitle() {
        return knowledgeTitle;
    }

    public void setKnowledgeTitle(String knowledgeTitle) {
        this.knowledgeTitle = knowledgeTitle == null ? null : knowledgeTitle.trim();
    }

    public String getKnowledgeTag() {
        return knowledgeTag;
    }

    public void setKnowledgeTag(String knowledgeTag) {
        this.knowledgeTag = knowledgeTag == null ? null : knowledgeTag.trim();
    }

    public String getCreatUserId() {
        return creatUserId;
    }

    public void setCreatUserId(String creatUserId) {
        this.creatUserId = creatUserId == null ? null : creatUserId.trim();
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public String getAlterUserId() {
        return alterUserId;
    }

    public void setAlterUserId(String alterUserId) {
        this.alterUserId = alterUserId == null ? null : alterUserId.trim();
    }

    public Date getAlterTime() {
        return alterTime;
    }

    public void setAlterTime(Date alterTime) {
        this.alterTime = alterTime;
    }

    public Short getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Short isDelete) {
        this.isDelete = isDelete;
    }

    public String getCreateName()
    {
        return createName;
    }

    public void setCreateName(String createName)
    {
        this.createName = createName;
    }

    public Date getStartTime()
    {
        return startTime;
    }

    public void setStartTime(Date startTime)
    {
        this.startTime = startTime;
    }

    public Date getEndTime()
    {
        return endTime;
    }

    public void setEndTime(Date endTime)
    {
        this.endTime = endTime;
    }

    public Integer getPraiseNum()
    {
        return praiseNum;
    }

    public void setPraiseNum(Integer praiseNum)
    {
        this.praiseNum = praiseNum;
    }

    public Integer getCommentNum()
    {
        return commentNum;
    }

    public void setCommentNum(Integer commentNum)
    {
        this.commentNum = commentNum;
    }

    public String getOrgId()
    {
        return orgId;
    }

    public void setOrgId(String orgId)
    {
        this.orgId = orgId;
    }

    public String getOrgName()
    {
        return orgName;
    }

    public void setOrgName(String orgName)
    {
        this.orgName = orgName;
    }
}